package com.yt.base.service.impl;

import java.util.List;

import com.yt.base.dao.AclCategoryDao;
import com.yt.base.model.AclCategory;
import com.yt.base.service.AclCategoryService;
import com.yt.core.service.GenericServiceImpl;

/**
 * Created by liujunshi on 15-1-28.
 */
public class AclCategoryServiceImpl extends GenericServiceImpl<AclCategory, Long> implements AclCategoryService {
	private AclCategoryDao dao;

	public AclCategoryServiceImpl(AclCategoryDao dao) {
		super(dao);
		this.dao = dao;
	}
	
	@Override
	public List<AclCategory> findAll() {
		return dao.findAll();
	}

	@Override
	public List<AclCategory> findByIds(List<Long> ids) {
		return dao.findByIds(ids);
	}
}
